package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {
    PageResult findAll(QueryPageBean queryPageBean);

    void saveOne(Permission permission);

    Permission selectById(int id);

    void updateOne(Permission permission);

    void deleteById(int id);

    List<Permission> findAllNoPagination();

}
